<script setup lang="ts">

</script>
<template>
  <div class="app">
    <el-table>
      <el-table-column label="商品图片" >
        <template #default="">
          <img src="商品图片" alt="">
        </template>
      </el-table-column>
      <el-table-column label="商品名称"  width="400">
        <template #default="">商品名称</template>
      </el-table-column>
      <el-table-column label="商品价格">
        <template #default="">¥</template>
      </el-table-column>
      <el-table-column label="商品销量">
        <template #default="">件</template>
      </el-table-column>
      <el-table-column label="操作" width="100">
        <template #default="">
          <el-button type="primary" link>删除</el-button>
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>
<style>
.app {
  width: 980px;
  margin: 100px auto 0;
}
</style>
